#region head comment
/*
Code generate by YhdSdkTool.
email:starpeng@vip.qq.com
2013-01-21 23:00:56:948 +08:00
*/
#endregion

using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace YhdSdk.Domain.Product
{
    /// <summary>
    /// 系列子产品
    /// </summary>
    [Serializable]
    public class SerialChildProd : YhdObject
    {
        /// <summary>
        /// 商家产品编码
        /// </summary>
        [XmlElement("productCode")]
        public String ProductCode
        {
            get;
            set;
        }

        /// <summary>
        /// 商家产品中文名称
        /// </summary>
        [XmlElement("productCname")]
        public String ProductCname
        {
            get;
            set;
        }

        /// <summary>
        /// 产品ID
        /// </summary>
        [XmlElement("productId")]
        public Nullable<Int64> ProductId
        {
            get;
            set;
        }

        /// <summary>
        /// 产品条形码
        /// </summary>
        [XmlElement("ean13")]
        public String Ean13
        {
            get;
            set;
        }

        /// <summary>
        /// 产品类目ID
        /// </summary>
        [XmlElement("categoryId")]
        public Nullable<Int64> CategoryId
        {
            get;
            set;
        }

        /// <summary>
        /// 上下架状态0：下架，1：上架
        /// </summary>
        [XmlElement("canSale")]
        public Nullable<Int32> CanSale
        {
            get;
            set;
        }

        /// <summary>
        /// 产品库存状态
        /// </summary>
        [XmlElement("stockStatus")]
        public Nullable<Int32> StockStatus
        {
            get;
            set;
        }

        /// <summary>
        /// 外部产品ID
        /// </summary>
        [XmlElement("outerId")]
        public String OuterId
        {
            get;
            set;
        }

        /// <summary>
        /// 是否可见,1是0否
        /// </summary>
        [XmlElement("canShow")]
        public Nullable<Int32> CanShow
        {
            get;
            set;
        }

        /// <summary>
        /// 是否为主打产品（1：是、 0：否）
        /// </summary>
        [XmlElement("isMainProduct")]
        public Nullable<Int32> IsMainProduct
        {
            get;
            set;
        }

        /// <summary>
        /// 产品审核状态:1.新增未审核;2.编辑待审核;3.审核未通过;4.审核通过;5.图片审核失败;6.文描审核失败
        /// </summary>
        [XmlElement("verifyFlg")]
        public Nullable<Int32> VerifyFlg
        {
            get;
            set;
        }

        /// <summary>
        /// 是否二次审核0：非二次审核；1：是二次审核
        /// </summary>
        [XmlElement("isDupAudit")]
        public Nullable<Int32> IsDupAudit
        {
            get;
            set;
        }

        /// <summary>
        /// 所有仓库库存信息
        /// </summary>
        [XmlArray("allWareHouseStocList")]
        [XmlArrayItem("pmStockInfo")]
        public List<PmStock> AllWareHouseStocList
        {
            get;
            set;
        }

        /// <summary>
        /// 图片信息列表（逗号分隔，图片id、图片URL、主图标识之间用竖线分隔；其中1：表示主图，0：表示非主图）
        /// </summary>
        /// <example>1404254|http://d1.yihaodian.com/t1/2011/01/06/1404254.jpg|1</example>
        [XmlElement("prodImg")]
        public String ProdImg
        {
            get;
            set;
        }

    }
}
